package com.atguigu.boot.admin.service.impl;

import com.atguigu.boot.admin.bean.Account;
import com.atguigu.boot.admin.mapper.AccountMapper;
import com.atguigu.boot.admin.service.AccountService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author : leimingchao
 * @date Date : 2021年11月21日 14:18
 */
@Service
public class AccountServiceImpl implements AccountService {

    @Autowired
    private AccountMapper accountMapper;

    @Override
    public Account getAccountById(Long id) {
        return accountMapper.getAccount(id);
    }
}
